/**
 * 
 */
package com.nextive.interview.dto;

import com.nextive.interview.service.UserInfoService.Metric;

/**
 * DTO class containing information about user preferences.
 * @author Cesar Roman
 *
 */
public class UserPreferences {
	
	/**
	 * User's name.
	 */
	private String name;
	
	/**
	 * User's email.
	 */
	private String email;
	
	/**
	 * User's default recipient email.
	 */
	private String recipientEmail;
	
	/**
	 * User's metric preference.
	 */
	private Metric metricOption;

	/**
	 * Default constructor.
	 * @param name user's name
	 * @param email user's email
	 * @param recipientEmail user's recipient email
	 * @param metricOption user's metric preference
	 */
	public UserPreferences(String name, String email, String recipientEmail,
			Metric metricOption) {

		this.name = name;
		this.email = email;
		this.recipientEmail = recipientEmail;
		this.metricOption = metricOption;
	
	}

	/**
	 * It returns user's name
	 * @return
	 */
	public String getName() {
		return name;
	}

	/**
	 * It returns user's email
	 * @return
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * It returns user's recipient email
	 * @return
	 */
	public String getRecipientEmail() {
		return recipientEmail;
	}

	/**
	 * It returns user's metric preference
	 * @return
	 */
	public Metric getMetricOption() {
		return metricOption;
	}

	/**
	 * It sets user's name.
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * It sets user's email.
	 * @param name
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * It sets user's recipient email.
	 * @param name
	 */
	public void setRecipientEmail(String recipientEmail) {
		this.recipientEmail = recipientEmail;
	}

	/**
	 * It sets user's preference metric.
	 * @param name
	 */
	public void setMetricOption(Metric metricOption) {
		this.metricOption = metricOption;
	}

}